package com.magnificent.atlantis.server.event;

import java.util.Date;

/**
 * User: Babanin
 * Date: Oct 3, 2009
 * Time: 12:09:56 AM
 */
public class Event<T> {
    private T object;
    private Date date;

    public Event(T object) {
        this.object = object;
        this.date = new Date();
    }

    public T getObject() {
        return object;
    }

    public void setObject(T object) {
        this.object = object;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }
}
